/**
 * Copyright &copy; 2012-2014 <a href="https://github.com.jims.base">JeeSite</a> All rights reserved.
 */
package com.jims.master.modules.patient.myRecord.dao;

import com.jims.master.common.persistence.CrudDao;
import com.jims.master.common.persistence.annotation.MyBatisDao;
import com.jims.master.modules.patient.myRecord.entity.CaseEnterHospital;
import org.apache.ibatis.annotations.Param;

/**
 * 用于病历同步中常规入院记录DAO接口
 * @author xueyx
 * @version 2016-07-06
 */
@MyBatisDao
public interface CaseEnterHospitalDao extends CrudDao<CaseEnterHospital> {

    /**
     * 通过住院Id查询常规入院记录
     * @param zhuyuanId
     * @return
     */
    public CaseEnterHospital getEnterByZhuYuan(@Param("zhuyuanId") String zhuyuanId);

    public CaseEnterHospital getByClinicId(CaseEnterHospital netEnterHospital);

}